package com.ll.spring5;

import org.junit.Test;

/**
 * 2020/9/7 - 15:59
 * 使用有参构造函数注入
 */
public class Orders {

    private String oname;
    private String address;



    public Orders(String oname, String address) {
        this.oname = oname;
        this.address = address;
    }

    public void orderTest() {
        System.out.println(oname + ":" + address);
    }


}
